﻿using AdvVerifyGUI.ViewModels;
using AdvVerifyGUI.Views;
using Prism.Ioc;
using Prism.Regions;
using Prism.Unity;
using System.Configuration;
using System.Data;
using System.Windows;

namespace AdvVerifyGUI
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : PrismApplication
    {
        protected override Window CreateShell()
        {
           return Container.Resolve<MainWindow>();
        }

        protected override void RegisterTypes(IContainerRegistry containerRegistry)
        {
            // 注册ViewModel和View的映射
            containerRegistry.RegisterForNavigation<RecipeView>(nameof(RecipeView));
        }
    }

}
